import index from './indexController';

const controllerInit = {
	init(app, router) {
		app.use(router(_ => {
      _.get('/', (ctx) => {
        ctx.body = 'Hello Koa';
      });
      _.get('/index/index', index.index());
    }))
	}
}

export default controllerInit;